<!DOCTYPE html>


<html lang="zh-CN">


<head>
  <meta charset="utf-8" />
    
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>
    归档: 2020/11 |  
  </title>
  <meta name="generator" content="hexo-theme-ayer">
  
  <link rel="shortcut icon" href="/favicon.ico" />
  
  
<link rel="stylesheet" href="/dist/main.css">

  
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/css/remixicon.min.css">

  
<link rel="stylesheet" href="/css/custom.css">

  
  
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>

  
  

  

</head>

</html>

<body>
  <div id="app">
    
      
    <main class="content on">
      <section class="outer">
  
  <article class="articles">
    
    
    <h1 class="page-type-title">2020/11</h1>
    
    
  
  
  
  
  
  
  <div class="archives-wrap">
    <div class="archive-year-wrap">
      <a href="/archives/2020" class="archive-year">2020</a>
    </div>
    <div class="archives">
      
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/es/Elasticsearch%20%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/es/Elasticsearch%20%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5/"
    >Elasticsearch 最佳实践.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/interview/IT%E8%BF%90%E7%BB%B4%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93-%E6%95%B0%E6%8D%AE%E5%BA%93%E3%80%81%E7%9B%91%E6%8E%A7%E3%80%81%E7%BD%91%E7%BB%9C%E7%AE%A1%E7%90%86/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/interview/IT%E8%BF%90%E7%BB%B4%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93-%E6%95%B0%E6%8D%AE%E5%BA%93%E3%80%81%E7%9B%91%E6%8E%A7%E3%80%81%E7%BD%91%E7%BB%9C%E7%AE%A1%E7%90%86/"
    >IT运维面试问题总结-数据库、监控、网络管理.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/interview/IT%E8%BF%90%E7%BB%B4%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93-%E8%BF%90%E7%BB%B4%E5%B7%A5%E5%85%B7%E3%80%81%E5%BC%80%E6%BA%90%E5%BA%94%E7%94%A8(Ceph%E3%80%81Docker%E3%80%81Apache%E3%80%81Nginx%E7%AD%89)/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/interview/IT%E8%BF%90%E7%BB%B4%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93-%E8%BF%90%E7%BB%B4%E5%B7%A5%E5%85%B7%E3%80%81%E5%BC%80%E6%BA%90%E5%BA%94%E7%94%A8(Ceph%E3%80%81Docker%E3%80%81Apache%E3%80%81Nginx%E7%AD%89)/"
    >IT运维面试问题总结-运维工具、开源应用(Ceph、Docker、Apache、Nginx等).md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/k8s/kubeadm%E9%AB%98%E5%8F%AF%E7%94%A8master%E8%8A%82%E7%82%B9%E4%B8%89%E4%B8%BB%E4%B8%A4%E4%BB%8E/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/k8s/kubeadm%E9%AB%98%E5%8F%AF%E7%94%A8master%E8%8A%82%E7%82%B9%E4%B8%89%E4%B8%BB%E4%B8%A4%E4%BB%8E/"
    >kubeadm高可用master节点三主两从.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/mysql/%E4%B8%87%E5%AD%97%E6%80%BB%E7%BB%93%EF%BC%9A%E5%AD%A6%E4%B9%A0MySQL%E4%BC%98%E5%8C%96%E5%8E%9F%E7%90%86%EF%BC%8C%E8%BF%99%E4%B8%80%E7%AF%87%E5%B0%B1%E5%A4%9F%E4%BA%86/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/mysql/%E4%B8%87%E5%AD%97%E6%80%BB%E7%BB%93%EF%BC%9A%E5%AD%A6%E4%B9%A0MySQL%E4%BC%98%E5%8C%96%E5%8E%9F%E7%90%86%EF%BC%8C%E8%BF%99%E4%B8%80%E7%AF%87%E5%B0%B1%E5%A4%9F%E4%BA%86/"
    >万字总结：学习MySQL优化原理，这一篇就够了.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/tips/Git%20%E4%BB%8E%E5%85%A5%E9%97%A8%E5%88%B0%E7%B2%BE%E9%80%9A%EF%BC%8C%E8%BF%99%E7%AF%87%E5%8C%85%E6%95%99%E5%8C%85%E4%BC%9A/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/tips/Git%20%E4%BB%8E%E5%85%A5%E9%97%A8%E5%88%B0%E7%B2%BE%E9%80%9A%EF%BC%8C%E8%BF%99%E7%AF%87%E5%8C%85%E6%95%99%E5%8C%85%E4%BC%9A/"
    >Git 从入门到精通，这篇包教包会.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/interview/IT%E8%BF%90%E7%BB%B4%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93-%E7%AE%80%E8%BF%B0Etcd%E3%80%81Kubernetes%E3%80%81Lvs%E3%80%81HAProxy/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/interview/IT%E8%BF%90%E7%BB%B4%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93-%E7%AE%80%E8%BF%B0Etcd%E3%80%81Kubernetes%E3%80%81Lvs%E3%80%81HAProxy/"
    >IT运维面试问题总结-简述Etcd、Kubernetes、Lvs、HAProxy.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/k8s/Ceph%20%E5%9F%BA%E7%A1%80%E7%AF%87%20-%20%E9%9B%86%E7%BE%A4%E9%83%A8%E7%BD%B2%E5%8F%8A%E6%95%85%E9%9A%9C%E6%8E%92%E6%9F%A5/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/k8s/Ceph%20%E5%9F%BA%E7%A1%80%E7%AF%87%20-%20%E9%9B%86%E7%BE%A4%E9%83%A8%E7%BD%B2%E5%8F%8A%E6%95%85%E9%9A%9C%E6%8E%92%E6%9F%A5/"
    >Ceph 基础篇 - 集群部署及故障排查.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/develop/%E5%BF%AB%E9%80%9F%E7%90%86%E8%A7%A3Cookie%E3%80%81Session%E3%80%81Token%E3%80%81JWT/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/develop/%E5%BF%AB%E9%80%9F%E7%90%86%E8%A7%A3Cookie%E3%80%81Session%E3%80%81Token%E3%80%81JWT/"
    >快速理解Cookie、Session、Token、JWT.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
  
  
      <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
      <a href="/2020/11/11/other/%E4%B8%80%E6%96%87%E6%90%9E%E6%87%82%E8%93%9D%E7%BB%BF%E5%8F%91%E5%B8%83%E3%80%81%E7%81%B0%E5%BA%A6%E5%8F%91%E5%B8%83%E5%92%8C%E6%BB%9A%E5%8A%A8%E5%8F%91%E5%B8%83/" class="archive-article-date">
  <time datetime="2020-11-10T16:00:00.000Z" itemprop="datePublished">11/11</time>
</a>
       
<h2 itemprop="name">
  <a class="archive-article-title" href="/2020/11/11/other/%E4%B8%80%E6%96%87%E6%90%9E%E6%87%82%E8%93%9D%E7%BB%BF%E5%8F%91%E5%B8%83%E3%80%81%E7%81%B0%E5%BA%A6%E5%8F%91%E5%B8%83%E5%92%8C%E6%BB%9A%E5%8A%A8%E5%8F%91%E5%B8%83/"
    >一文搞懂蓝绿发布、灰度发布和滚动发布.md</a> 
</h2>
 

    </header>
    
    
  </div>
</article>
      
      
    </div>
  </div>
  
  

  
  <nav class="page-nav">
    
    <a class="extend prev" rel="prev" href="/archives/2020/11/page/11/">上一页</a><a class="page-number" href="/archives/2020/11/">1</a><span class="space">&hellip;</span><a class="page-number" href="/archives/2020/11/page/10/">10</a><a class="page-number" href="/archives/2020/11/page/11/">11</a><span class="page-number current">12</span><a class="page-number" href="/archives/2020/11/page/13/">13</a><a class="page-number" href="/archives/2020/11/page/14/">14</a><a class="extend next" rel="next" href="/archives/2020/11/page/13/">下一页</a>
  </nav>
  
</section>
      <footer class="footer">
  <div class="outer">
    <ul>
      <li>
        Copyrights &copy;
        2015-2020
        <i class="ri-heart-fill heart_icon"></i> TzWind
      </li>
    </ul>
    <ul>
      <li>
        
        
        
        由 <a href="https://hexo.io" target="_blank">Hexo</a> 强力驱动
        <span class="division">|</span>
        主题 - <a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>
        
      </li>
    </ul>
    <ul>
      <li>
        
        
        <span>
  <span><i class="ri-user-3-fill"></i>访问人数:<span id="busuanzi_value_site_uv"></span></s>
  <span class="division">|</span>
  <span><i class="ri-eye-fill"></i>浏览次数:<span id="busuanzi_value_page_pv"></span></span>
</span>
        
      </li>
    </ul>
    <ul>
      
    </ul>
    <ul>
      
    </ul>
    <ul>
      <li>
        <!-- cnzz统计 -->
        
        <script type="text/javascript" src='https://s9.cnzz.com/z_stat.php?id=1278069914&amp;web_id=1278069914'></script>
        
      </li>
    </ul>
  </div>
</footer>
      <div class="float_btns">
        <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>

<div class="todark" id="todark">
  <i class="ri-moon-line"></i>
</div>

      </div>
    </main>
    <aside class="sidebar on">
      <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/ayer-side.svg" alt="Hexo"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/">主页</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">归档</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories">分类</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags">标签</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://www.baidu.com">百度</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/friends">友链</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/2019/about">关于我</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="搜索">
        <i class="ri-search-line"></i>
      </a>
      
      
      <a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
        <i class="ri-rss-line"></i>
      </a>
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
    </aside>
    <script>
      if (window.matchMedia("(max-width: 768px)").matches) {
        document.querySelector('.content').classList.remove('on');
        document.querySelector('.sidebar').classList.remove('on');
      }
    </script>
    <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>请我喝杯咖啡吧~</p>
  <div class="reward-box">
    
    
  </div>
</div>
    
<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/lazyload.min.js"></script>

<!-- Tocbot -->

<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>

<script src="/dist/main.js"></script>

<!-- ImageViewer -->

<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>

    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">

        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                <!--  Controls are self-explanatory. Order can be changed. -->

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" style="display:none" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css">
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"></script>

<script>
    function viewer_init() {
        let pswpElement = document.querySelectorAll('.pswp')[0];
        let $imgArr = document.querySelectorAll(('.article-entry img:not(.reward-img)'))

        $imgArr.forEach(($em, i) => {
            $em.onclick = () => {
                // slider展开状态
                // todo: 这样不好，后面改成状态
                if (document.querySelector('.left-col.show')) return
                let items = []
                $imgArr.forEach(($em2, i2) => {
                    let img = $em2.getAttribute('data-idx', i2)
                    let src = $em2.getAttribute('data-target') || $em2.getAttribute('src')
                    let title = $em2.getAttribute('alt')
                    // 获得原图尺寸
                    const image = new Image()
                    image.src = src
                    items.push({
                        src: src,
                        w: image.width || $em2.width,
                        h: image.height || $em2.height,
                        title: title
                    })
                })
                var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, {
                    index: parseInt(i)
                });
                gallery.init()
            }
        })
    }
    viewer_init()
</script>

<!-- MathJax -->

<!-- Katex -->

<!-- busuanzi  -->


<script src="/js/busuanzi-2.3.pure.min.js"></script>


<!-- ClickLove -->

<!-- ClickBoom1 -->

<!-- ClickBoom2 -->

<!-- CodeCopy -->


<link rel="stylesheet" href="/css/clipboard.css">

<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script>
  function wait(callback, seconds) {
    var timelag = null;
    timelag = window.setTimeout(callback, seconds);
  }
  !function (e, t, a) {
    var initCopyCode = function(){
      var copyHtml = '';
      copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
      copyHtml += '<i class="ri-file-copy-2-line"></i><span>COPY</span>';
      copyHtml += '</button>';
      $(".highlight .code pre").before(copyHtml);
      $(".article pre code").before(copyHtml);
      var clipboard = new ClipboardJS('.btn-copy', {
        target: function(trigger) {
          return trigger.nextElementSibling;
        }
      });
      clipboard.on('success', function(e) {
        let $btn = $(e.trigger);
        $btn.addClass('copied');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-checkbox-circle-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPIED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-checkbox-circle-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
      clipboard.on('error', function(e) {
        e.clearSelection();
        let $btn = $(e.trigger);
        $btn.addClass('copy-failed');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-time-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPY FAILED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-time-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
    }
    initCopyCode();
  }(window, document);
</script>


<!-- CanvasBackground -->


    
  </div>
</body>

</html>